This is a leftover of GNOME/gnome-shell!499, since menu items are all
actors now, we can just avoid using the actor property when adding an
action item.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/700
item = this.addAction(is.displayName, () => {
inputSourceManager.activateInputSource(is, true);
});
- item.actor.can_focus = false;
+ item.can_focus = false;
}
this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
item = this.addSettingsAction(_("Region & Language Settings"), 'gnome-region-panel.desktop');
- item.actor.can_focus = false;
+ item.can_focus = false;
this._capturedEventId = 0;